package com.alinu.workbench.mapper;

import com.alinu.workbench.domain.Tran;

import java.util.List;
import java.util.Map;

public interface TranMapper {

    int createSimpleTransaction(Tran tran);

    List<Tran> getTransList(Map<String, Object> params);

    int getTotal(Map<String, Object> params);

    int createTransaction(Tran tran);

    Tran findTranById(String id);

    int changeStage(Tran tran);

    int getTotalCharts();

    List<Map<String, Object>> getTransCharts();
}
